<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="web.Const"%>
<%@page import="mbank.Customer"%>
<%@page import="mbank.ClientActions"%>
<%@page import="web.Const"%>
<%@page import="mbank.Account"%>
<%@page import="mbank.Rank"%>
<%@page import="mbank.RankDBManager"%><html>
<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1255">
<title>Welcome in MBank</title>
</head>
<body>
<center>
<%
	Customer customer = (Customer) session.getAttribute(Const.CUSTOMER);
	Account account = (Account) session.getAttribute(Const.ACCOUNT);
%>

<h1>Welcome in MBank !!</h1>
<hr>
<br>

<big>Hello: <%=customer.getName()%></big> </br>
<br>



<br>

<table>

	<tr align="left">
		<td><b>Personal information.</b>
		<table border="0">

			<tr align="left">
				<td><i>Email:</i></td>
				<td><%=customer.getEmail()%></td>
			</tr>

			<tr align="left">
				<td><i>Phone:</i></td>
				<td><%=customer.getPhone()%></td>
			</tr>

			<tr align="left">
				<td><i>Address:</i></td>
				<td><%=customer.getAddress()%></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr align="left">
		<td><br>
		<b>Account information.</b>
		<table border="0">
			<tr align="left">
				<td><i>Account number:</i></td>
				<td><%=account.getAccountId()%></td>
			</tr>


			<tr align="left">
				<td><i>Amount:</i></td>
				<td><%=account.getAmount()%></td>
			</tr>


			<tr>
			</tr>
		</table>
		</td>
	</tr>

</table>

<br>

<big><u>Actions</u></big> <br></br>

<a href="Controller?<%=Const.COMMAND%>=<%=Const.DEPOSIT%>">Deposit</a><br>
<a href="Controller?<%=Const.COMMAND%>=<%=Const.REPORT%>">Reports</a><br>





</center>
</body>
</html>